package com.ljf.config.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 发号器配置状态--返回  config_dat_impulse_sender_condition
 *
 * @author LJF
 * @since 2025-01-18
 */
@Data
@ApiModel("发号器配置状态--返回")
public class ConfigDatImpulseSenderConditionVO implements Serializable {

    @JsonProperty("id")
    @ApiModelProperty(value = "ID")
    private Long id;

    @JsonProperty("code")
    @ApiModelProperty(value = "编码")
    private String code;

    @JsonProperty("sort")
    @ApiModelProperty(value = "排序")
    private Integer sort;

    @JsonProperty("currentValue")
    @ApiModelProperty(value = "当前值")
    private String currentValue;

    @JsonProperty("recordDate")
    @ApiModelProperty(value = "当前时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date recordDate;

    @JsonIgnore
    @ApiModelProperty(value = "次数")
    private Integer count;

}
